package com.ksyun.campus.metaserver;

import com.ksyun.campus.metaserver.config.metaserverconfig.MetaServerConfigProperties;
import com.ksyun.campus.metaserver.config.sqliteconfig.SqliteConfigureProperties;
import com.ksyun.campus.metaserver.config.zookperconfig.ZookeeperConfigProperties;
import com.ksyun.campus.metaserver.services.IFileOperateServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@Slf4j
@EnableAsync
@EnableScheduling
@SpringBootApplication
@Import({
        ZookeeperConfigProperties.class,
        MetaServerConfigProperties.class,
        SqliteConfigureProperties.class,
        IFileOperateServiceImpl.class
})
public class MetaServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(MetaServerApplication.class, args);
    }

}
